﻿using NHibernate;

namespace DataLayer.UoW
{
    public interface IUnitOfWorkFactory
    {
        IUnitOfWork Create();
        ISession CurrentSession { get; set; }
        void DisposeUnitOfWork(UnitOfWorkImplementor unitOfWorkImplementor);
    }
}
